Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat! Create a script to build adaptor package artifacts #66

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

mwiebe
Copy link
Contributor

@mwiebe mwiebe commented Feb 10, 2024

The breaking change is due to updating the adaptor runtime dependency to 0.4

This change corresponds to aws-deadline/deadline-cloud-for-maya#87 and aws-deadline/deadline-cloud-for-nuke#85

What was the problem/requirement? (What/Why)

We have designed a new structure for how we lay out application interface adaptors into packages. In order to simplify the packaging step, we'll put a script that generates an artifact with that layout into each adaptor git repo.

In order to perform the layout we wanted, I needed to modify the adaptor runtime. Those changes are in OpenJobDescription/openjd-adaptor-runtime-for-python#69

The adaptor runtime dependency was out of date, After updating, it required changes from a socket_path to a server_path parameter.

What was the solution? (How)

  • Create a script to build adaptor package artifacts
  • Also deprecate the binary name HoudiniAdaptor, and add the name houdini-openjd
  • Update the adaptor runtime dependency to 0.4, and fix up socket path into server path
  • Update the submitter to provide both Rez and Conda packages metadata. The Rez package names are the same for now to keep backwards compatibility.
  • Change the ROP menu from "Digital Assets" to "Farm" matching other render farm ROPs
  • Adjusted the frame range logic to directly use the hou.Node properties

What is the impact of this change?

The repo has a script that can generate a .tar archive containing a prefix layout of the adaptor python library and its dependencies, along with an entry point.

How was this change tested?

The generated .tar archive was used to create a package, and that was tested on a Deadline Cloud farm with jobs submitted from Houdini.

Was this change documented?

No

Is this a breaking change?

Yes, it updates the openjd adaptor runtime dependency which had a breaking change.

@mwiebe mwiebe requested a review from a team as a code owner February 10, 2024 20:01
@epmog epmog self-requested a review February 13, 2024 15:57
@mwiebe mwiebe force-pushed the markw/packaging-artifact branch 3 times, most recently from 7c291b0 to 6fa273c Compare February 14, 2024 02:06
@epmog epmog force-pushed the markw/packaging-artifact branch from 6fa273c to 4feeb7f Compare February 15, 2024 06:05
The breaking change is due to updating the adaptor runtime dependency to
0.4

- Also deprecate the binary name HoudiniAdaptor, and add the name
  houdini-openjd
- Update the adaptor runtime dependency to 0.4, and fix up socket
  path into server path
- Update the submitter to provide both Rez and Conda packages metadata.
  The Rez package names are the same for now to keep backwards
  compatibility.
- Change the ROP menu from "Digital Assets" to "Farm" matching other
  render farm ROPs
- Adjusted the frame range logic to directly use the hou.Node
  properties

Signed-off-by: Mark Wiebe <[email protected]>
Signed-off-by: Morgan Epp <[email protected]>
@epmog epmog force-pushed the markw/packaging-artifact branch from 4feeb7f to 61bc351 Compare February 15, 2024 06:07
@epmog epmog merged commit d4f39a2 into mainline Feb 15, 2024
9 checks passed
@epmog epmog deleted the markw/packaging-artifact branch February 15, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants